<%@ Control Language="C#" AutoEventWireup="true" CodeFile="showRateforMyRating.ascx.cs" Inherits="includes_showRateforMyRating" %>
<script>
var image<%=this.ID%>=<%=FullRate%>//orginal rating
var orgHalf<%=this.ID%>="<%=halfRate%>";

//alert(<%=FullRate%>);

for(i=0;i<image<%=this.ID%>;i++)
{
    if("<%=this.imageName%>"=="plus")
    {
    document.write("<img src='<%=Session["strHttp"]%>images/red-plus-sign-smallforMyRating.gif' />&nbsp;")
    }else
    {
    document.write("<img src='<%=Session["strHttp"]%>images/dollor-sign-img.gif' />&nbsp;")
    }
}
if(orgHalf<%=this.ID%>=="True")
{
if("<%=this.imageName%>"=="plus")
    {
    document.write("<img src='<%=Session["strHttp"]%>images/plus-icon-rw.gif' />&nbsp;")
    }else
    {
    document.write("<img src='<%=Session["strHttp"]%>images/plus-icon-rw.gif' />&nbsp;")
    }    
}
</script>

